﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace XNA_Game_Framework
{
	public class MouseEventArgs : EventArgs
	{
		InputHandler.MouseButton button;
		int x;
		int y;
		int lastX;
		int lastY;

		public InputHandler.MouseButton Button
		{
			get { return button; }
		}

		public Vector2 Position
		{
			get { return new Vector2(x, y); }
		}

		public int X
		{
			get { return x; }
		}

		public int Y
		{
			get { return y; }
		}

		public int LastX
		{
			get { return lastX; }
		}

		public int LastY
		{
			get { return lastY; }
		}

		public MouseEventArgs(InputHandler.MouseButton button, int x, int y, int lastX, int lastY)
		{
			this.button = button;
			this.x = x;
			this.y = y;
			this.lastX = lastX;
			this.lastY = lastY;
		}
	}
}
